[]
This method is called when an item is removed from the collection.
protected virtual Task RemoveAsyncOverride(int index, CancellationToken cancellationToken)
Protected Overridable Function RemoveAsyncOverride(index As Integer, cancellationToken As CancellationToken) As Task
| Type | Name | Description |
|---|---|---|
| int | index | The index of the removed item. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
CanRemove(int) must return true to enable this method.